package com.example.demo.service;

import com.example.demo.entity.CommonResult;
import com.example.demo.entity.drugs;

import java.util.List;

public interface DrugServiceimpl {

    List<drugs> Getalldrugs();

    CommonResult GetOnepagesdrug(Integer pageNum,Integer pageSize);

    CommonResult Adddrugs(drugs drugs);

    CommonResult Updatedrugs(drugs drugs);

    CommonResult deletedrugs(Integer id, String drug_id);

    CommonResult selectdrugs (String drug_id,String drug_name);

}
